package zhaoxiaohan.service;

import spring.annotation.Autowired;
import spring.annotation.Component;
import spring.annotation.toProxy;


@Component
@toProxy
public class OrderService {

    @Autowired
    private UserService userService;

    public UserService getUserService() {
        return userService;
    }

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public void hello(){
        System.out.println("hello");
    }
}
